package com.zr.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.vo.BaseVo;
import com.zr.vo.base.BaseCity;
import com.zr.vo.base.BaseCustomer;
import java.util.Date;
import java.util.List;

/**
 * 委托订单实体类
 * @author huangguilong
 */
public class OrderForm extends BaseVo {

    // 自增id
    private Integer id;

    // 订单编号
    private String orderId;

    // 订单名称
    private String orderName;

    // 订单客户id
    private String orderCustomerId;

    // 取货时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date pickupDate;

    // 运输类型
    private String transportType;

    // 发货人姓名
    private String consignorName;

    // 发货人电话
    private String consignorTel;

    // 发货地址id
    private Integer consignorAddress;

    // 发货详细地址
    private String consignorAddressDetail;

    // 收货人姓名
    private String consigneeName;

    // 收货人电话
    private String consigneeTel;

    // 收获地址id
    private Integer consigneeAddress;

    // 收获详细地址
    private String consigneeAddressDetail;

    // 订单货物总重量
    private Float weight;

    // 订单货物总体积
    private Float volume;

    // 订单总费用
    private Float orderFee;

    // 订单创建人
    private String operator;

    // 订单创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    // 订单修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    // 订单当前状态
    private String currentStatus;

    // 订单当前状态的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date currentStatusTime;

    // 订单完成图片地址
    private String finishImg;

    // 备用
    private String orderBackupOne;

    // 调度单id
    private String orderTicketId;

    // 订单货物信息
    private List<OrderGoods> orderGoodsList;

    // 订单费用信息
    private List<OrderFee> orderFeeList;

    // 订单状态信息
    private List<OrderStatus> orderStatusList;

    // 订单客户信息
    private BaseCustomer customer;

    // 发货地信息
    private BaseCity consignorCity;

    // 收货地信息
    private BaseCity consigneeCity;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderCustomerId() {
        return orderCustomerId;
    }

    public void setOrderCustomerId(String orderCustomerId) {
        this.orderCustomerId = orderCustomerId;
    }

    public Date getPickupDate() {
        return pickupDate;
    }

    public void setPickupDate(Date pickupDate) {
        this.pickupDate = pickupDate;
    }

    public String getTransportType() {
        return transportType;
    }

    public void setTransportType(String transportType) {
        this.transportType = transportType;
    }

    public String getConsignorName() {
        return consignorName;
    }

    public void setConsignorName(String consignorName) {
        this.consignorName = consignorName;
    }

    public String getConsignorTel() {
        return consignorTel;
    }

    public void setConsignorTel(String consignorTel) {
        this.consignorTel = consignorTel;
    }

    public Integer getConsignorAddress() {
        return consignorAddress;
    }

    public void setConsignorAddress(Integer consignorAddress) {
        this.consignorAddress = consignorAddress;
    }

    public String getConsignorAddressDetail() {
        return consignorAddressDetail;
    }

    public void setConsignorAddressDetail(String consignorAddressDetail) {
        this.consignorAddressDetail = consignorAddressDetail;
    }

    public String getConsigneeName() {
        return consigneeName;
    }

    public void setConsigneeName(String consigneeName) {
        this.consigneeName = consigneeName;
    }

    public String getConsigneeTel() {
        return consigneeTel;
    }

    public void setConsigneeTel(String consigneeTel) {
        this.consigneeTel = consigneeTel;
    }

    public Integer getConsigneeAddress() {
        return consigneeAddress;
    }

    public void setConsigneeAddress(Integer consigneeAddress) {
        this.consigneeAddress = consigneeAddress;
    }

    public String getConsigneeAddressDetail() {
        return consigneeAddressDetail;
    }

    public void setConsigneeAddressDetail(String consigneeAddressDetail) {
        this.consigneeAddressDetail = consigneeAddressDetail;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Float getVolume() {
        return volume;
    }

    public void setVolume(Float volume) {
        this.volume = volume;
    }

    public Float getOrderFee() {
        return orderFee;
    }

    public void setOrderFee(Float orderFee) {
        this.orderFee = orderFee;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCurrentStatus() {
        return currentStatus;
    }

    public void setCurrentStatus(String currentStatus) {
        this.currentStatus = currentStatus;
    }

    public Date getCurrentStatusTime() {
        return currentStatusTime;
    }

    public void setCurrentStatusTime(Date currentStatusTime) {
        this.currentStatusTime = currentStatusTime;
    }

    public String getFinishImg() {
        return finishImg;
    }

    public void setFinishImg(String finishImg) {
        this.finishImg = finishImg;
    }

    public String getOrderBackupOne() {
        return orderBackupOne;
    }

    public void setOrderBackupOne(String orderBackupOne) {
        this.orderBackupOne = orderBackupOne;
    }

    public String getOrderTicketId() {
        return orderTicketId;
    }

    public void setOrderTicketId(String orderTicketId) {
        this.orderTicketId = orderTicketId;
    }

    public List<OrderGoods> getOrderGoodsList() {
        return orderGoodsList;
    }

    public void setOrderGoodsList(List<OrderGoods> orderGoodsList) {
        this.orderGoodsList = orderGoodsList;
    }

    public List<OrderFee> getOrderFeeList() {
        return orderFeeList;
    }

    public void setOrderFeeList(List<OrderFee> orderFeeList) {
        this.orderFeeList = orderFeeList;
    }

    public List<OrderStatus> getOrderStatusList() {
        return orderStatusList;
    }

    public void setOrderStatusList(List<OrderStatus> orderStatusList) {
        this.orderStatusList = orderStatusList;
    }

    public BaseCustomer getCustomer() {
        return customer;
    }

    public void setCustomer(BaseCustomer customer) {
        this.customer = customer;
    }

    public BaseCity getConsignorCity() {
        return consignorCity;
    }

    public void setConsignorCity(BaseCity consignorCity) {
        this.consignorCity = consignorCity;
    }

    public BaseCity getConsigneeCity() {
        return consigneeCity;
    }

    public void setConsigneeCity(BaseCity consigneeCity) {
        this.consigneeCity = consigneeCity;
    }

}